/***********************************************
 * Title:       NoSuchConfigInfoException.java
 * Description: NoSuchConfigInfoException.java
 * Author:      Niyuzhe
 * Create Date: 2010-1-31
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.runtimeConfig;

/**
 * @author Niyuzhe
 *
 */
public class NoSuchConfigInfoException extends java.lang.Exception
{

        
        /**
         * 
         */
        private static final long serialVersionUID = 2794992195347770369L;
        
        private String key;
        
        public NoSuchConfigInfoException(String key)
        {
                super("No such config info[key=" + key + "].");
                this.key = key;
        }

        /**
         * @return the key
         */
        public String getKey()
        {
                return key;
        }

        /**
         * @param key the key to set
         */
        public void setKey(String key)
        {
                this.key = key;
        }

}
